package org.grow.leavejpa;

/**
 * @Author: xwg
 * @CreateDate: 21-6-9
 */

public class LeaveMethod {
    private String text;
    private int index;
    private String name;

    public LeaveMethod(String text, int index, String name) {
        this.text = text;
        this.index = index;
        this.name = name;
    }

    @Override
    public String toString() {
        return "LeaveMethod{" +
                "text='" + text + '\'' +
                ", index='" + index + '\'' +
                ", name='" + name + '\'' +
                '}';
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
